package mongoDB;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserModelRepository extends MongoRepository<UserModel, String> {

	List<UserModel> findByNameAndAge(String name, int age);

}